//
//  OptionMenuView.h
//  FruitCrush
//
//  Created by gaoyu on 15/7/25.
//
//

#ifndef __FruitCrush__OptionMenuView__
#define __FruitCrush__OptionMenuView__
#include "cocos2d.h"
USING_NS_CC;

class OptionMenuView : public cocos2d::Layer
{
public:
    CREATE_FUNC(OptionMenuView);
    virtual bool init() override;
    OptionMenuView();

    
private:
    Sprite* bg;
    bool isMusic;
    bool isRing;
    void bgInit();
    void controllMenuInit();
    void menuCallback(Ref *sender);
    void subMenuCallback(Ref *sender);
    void changeMusicState(bool flag);
    void changeRingState(bool flag);


    
};


#endif /* defined(__FruitCrush__OptionMenuView__) */
